import request from '@/utils/request'
const baseUrl = 'http://api.zesi.com.cn'
export function awc(params) {
  return request({
    url: baseUrl + '/idata/util/awc',
    method: 'get',
    params,
  })
}

export function awcFile(params) {
  return request({
    url: baseUrl + '/idata/util/awcFile',
    method: 'get',
    params,
  })
}

export function nrct(data) {
  return request({
    url: baseUrl + '/idata/util/nrct',
    method: 'post',
    data,
  })
}

export function upload(data) {
  return request({
    url: baseUrl + '/idata/util/nrct',
    method: 'post',
    data,
  })
}

export function exportExcel(data) {
  return request({
    url: baseUrl + '/idata/util/export',
    method: 'post',
    data,
  })
}

export function gcwd(params) {
  return request({
    url: baseUrl + '/idata/util/gcwd',
    method: 'get',
    params,
  })
}
